import common.Utils;
import tests.DetailPage;
import tests.EditPage;
import tests.HomePage;
import tests.LoginPage;
import common.Utils;
import java.io.IOException;

public class RunCase  {

    public static void main(String[] args) throws IOException, InterruptedException {
        //登录页
        LoginPage login = new LoginPage();
       login.LoginRight();
       login.LogginSuc();
       login.LoginFail();

       //列表页(主页)
        HomePage home = new HomePage();
        home.ByLogin();
        home.ByNoLogin();

        //详情页
        DetailPage detail = new DetailPage();
        detail.ByLogin();
        detail.ByNoLogin();

        //编辑页
        EditPage edit = new EditPage();
        edit.ByNoLoginRight();
        edit.ByNoLoginPublish();
        edit.ByLoginPublish();




        Utils.driver.quit();
    }

}
